package site.yunnong.common.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import site.yunnong.common.utils.PageUtils;
import site.yunnong.common.utils.Query;

import site.yunnong.common.dao.UserVideoStarDao;
import site.yunnong.common.entity.UserVideoStarEntity;
import site.yunnong.common.service.UserVideoStarService;


@Service("userVideoStarService")
public class UserVideoStarServiceImpl extends ServiceImpl<UserVideoStarDao, UserVideoStarEntity> implements UserVideoStarService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<UserVideoStarEntity> page = this.page(
                new Query<UserVideoStarEntity>().getPage(params),
                new QueryWrapper<UserVideoStarEntity>()
        );

        return new PageUtils(page);
    }

}